package com.idata.mapper;

import com.idata.entity.CharacterEntity;
import org.nebula.contrib.ngbatis.proxy.NebulaDaoBasic;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @File UserMapper.Java
 * @Modify Time      @Author    @Version    @Description
 * ------------      -------    --------    -----------
 * 2023/10/7         yd.j      1.0         None
 */

public interface CharacterEntityMapper extends NebulaDaoBasic<CharacterEntity, String> {

    CharacterEntity selectByIdCard(@Param("idCard") String idCard);

    List<CharacterEntity> selectByName(@Param("name") String name);

    List<CharacterEntity> selectByPhoneNumber(@Param("phone") String phone);
}
